﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Engine.Classes {
    import flash.display.*;
    import Engine.*;

	/**
	 * 表示地图上的一小块
	 * 
	 */
    public class Tile extends Asset {

        override public function getType():String{
            return (Constants.ASSET_TILE);
        }
        public function getBitmapData():BitmapData{
            return (null);
        }
        public function get tileWidth():Number{
            var _local1:Number = (0.5 / GlobalEngine.viewport.getZoom());
            return ((Constants.TILE_WIDTH + _local1));
        }
        public function get tileHeight():Number{
            var _local1:Number = (0.5 / GlobalEngine.viewport.getZoom());
            return ((Constants.TILE_HEIGHT + (_local1 * 2)));
        }

    }
}//package Engine.Classes 
